/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 87111
 * Date: 2025-08-28
 * Time: 12:31
 */
class Message<T> {
    private T message;

    public T getMessage() {
        return message;
    }

    public void setMessage(T message) {
        this.message = message;
    }
}
public class Test02 {
    public static void main(String[] args) {
        Message<String> message = new Message<>();
        message.setMessage("你好，世界");
        fun(message);
    }
    public static void fun(Message<?> message) {
        System.out.println(message.getMessage());
    }
}
